﻿#pragma once
#include <glad/glad.h>

#include "../../../Manager/TextureMgr.h"

namespace Kriko
{
    class OpenGLTextureBuffer
    {
    private:
        GLuint textureBufferID;
    public:
        OpenGLTextureBuffer(const Texture& texture);
        OpenGLTextureBuffer(size_t width, size_t height);

        void Bind(int index = 0);
        void Unbind();

        int GetTextureBufferID() const { return textureBufferID; }

        ~OpenGLTextureBuffer();
    };
}
